﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Moonwish.Core
{
    public abstract class EntityExecutor
    {
        protected List<string> Ids;
        private string _userId;

        protected EntityExecutor(List<string> ids, string userId)
        {
            Ids = ids;

            _userId = userId;
        }

        public abstract List<string> Execute();
    }

    public abstract class EntityExecutor<T>
    {
        protected readonly List<T> Data;
        private string _userId;

        protected EntityExecutor(List<T> data, string userId)
        {
            Data = data;

            _userId = userId;
        }

        public abstract void Execute();
    }
}
